package com.ljs.myspringboot.config;

import java.util.Date;
import java.util.TimerTask;

public class TestTask extends TimerTask {
    public static void main(String[] args) {

    }

    @Override
    public void run() {
        System.out.println("定时任务：" + new Date().toString());
    }
}
